//
//  AudioQuestionsVC.h
//  ATAInterview
//
//  Created by up72-17 on 2018/12/10.
//  Copyright © 2018 up72-17. All rights reserved.
//

#import <UIKit/UIKit.h>

#import <AVFoundation/AVFoundation.h>

#import "SABCircleProcessView.h"

#import "AnswerVC.h"

NS_ASSUME_NONNULL_BEGIN

@interface AudioQuestionsVC : UIViewController <AVAudioPlayerDelegate> {
    
    /** 进度条 */
    __weak IBOutlet UIProgressView *myProgressView;
    /** 准备时间 */
    __weak IBOutlet UILabel *timeLabel;
    
    /** 标题 */
    __weak IBOutlet UILabel *titleLable;
    /** 问题标题 */
    __weak IBOutlet UILabel *questionsTitleLabel;
    /** 问题音频时间 */
    __weak IBOutlet UILabel *audioTimeLabel;
    /** 问题内容 */
    __weak IBOutlet UILabel *questionsContentLabel;
    /** 音频声音动画 */
    __weak IBOutlet UIImageView *audioAnimationImageView;
    
    /** 音频问题背景 */
    __weak IBOutlet UIView *audioPlayerBackView;
    
    __weak IBOutlet NSLayoutConstraint *audioPlayerHeight;
    
    
    NSTimer *myTime;
    NSInteger timeIndex;
    
    NSTimer *fiveTime;
    NSInteger fiveTimeIndex;
    
    
    SABCircleProcessView *processView;
    
    __weak IBOutlet UIView *fiveSecondsView;
    
    __weak IBOutlet UIView *fiveSecondsContentBackView;
    
    __weak IBOutlet UILabel *fiveSecondsLabel;
    
    __weak IBOutlet UIView *circleView;
    
}

@property (nonatomic, strong) AVAudioPlayer *player;



@end

NS_ASSUME_NONNULL_END
